﻿using System;

namespace Program15
{
    class Program
    {
        /// <summary>
        /// 颜色的结构体
        /// </summary>
        public struct MyColor
        {
            public int Red;
            public int Green;
            public int Blue;
        }

        static void Main(string[] args)
        {
            MyColor color;
            color.Red = 255;
            color.Blue = 0;
            color.Green = 127;

            Console.WriteLine(color.Red);
        }
    }
}
